'use strict';
module.exports = app => {
  const Sequelize = app.Sequelize;
  const user = app.model.define(
    'user',
    {
      id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true },
      userName: Sequelize.TEXT('tiny'),
      passWord: Sequelize.TEXT('tiny'),
      sort: Sequelize.INTEGER(5),
    },
  );
  return user;
}